import request from '@/utils/request'

// 查询补偿-虚假发货结果列表
export function listDeceitfulDelivery(query) {
  return request({
    url: '/pdd/DeceitfulDelivery/list',
    method: 'get',
    params: query
  })
}

// 查询补偿-虚假发货结果详细
export function getDeceitfulDelivery(id) {
  return request({
    url: '/pdd/DeceitfulDelivery/' + id,
    method: 'get'
  })
}

// 新增补偿-虚假发货结果
export function addDeceitfulDelivery(data) {
  return request({
    url: '/pdd/DeceitfulDelivery',
    method: 'post',
    data: data
  })
}

// 修改补偿-虚假发货结果
export function updateDeceitfulDelivery(data) {
  return request({
    url: '/pdd/DeceitfulDelivery',
    method: 'put',
    data: data
  })
}

// 删除补偿-虚假发货结果
export function delDeceitfulDelivery(id) {
  return request({
    url: '/pdd/DeceitfulDelivery/' + id,
    method: 'delete'
  })
}
